﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LuceneDemo.Interface
{
    public interface IKeywordLuceneService
    {
        //void RemoveIndex(BotType bot);
        void IndexAddDocuments(TrainInput input);
        IEnumerable<IntentScore> Search(GetIntentByQuestionInput input);
        //Lucene.Net.Search.IndexSearcher IndexSearcher(Lucene.Net.Store.Directory index);
        //IEnumerable<Lucene.Net.Search.ScoreDoc> ScoreDocs(Lucene.Net.Store.Directory index, Lucene.Net.Search.IndexSearcher searcher, string question);
        //IEnumerable<IntentScore> ParseIntentScoreCollection(Lucene.Net.Search.IndexSearcher searcher, IEnumerable<Lucene.Net.Search.ScoreDoc> scoreDocs);
        //IEnumerable<IntentScore> EnrichIntentScores(IEnumerable<IntentScore> intentScores);
    }
}
